<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>系统安装向导</title>
    <script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-100">
    <div class="container mx-auto px-4 py-8">
        <div class="max-w-4xl mx-auto bg-white rounded-lg shadow-md p-6">
            <div class="text-center mb-8">
                <h1 class="text-2xl font-bold text-gray-800">系统安装向导</h1>
            </div>
            
            <div class="flex mb-8">
                <div class="flex-1 text-center">
                    <div class="<?php echo $step >= 1 ? 'text-blue-500' : 'text-gray-400'; ?> font-medium">
                        1. 安装须知
                    </div>
                </div>
                <div class="flex-1 text-center">
                    <div class="<?php echo $step >= 2 ? 'text-blue-500' : 'text-gray-400'; ?> font-medium">
                        2. 环境检测
                    </div>
                </div>
                <div class="flex-1 text-center">
                    <div class="<?php echo $step >= 3 ? 'text-blue-500' : 'text-gray-400'; ?> font-medium">
                        3. 配置数据库
                    </div>
                </div>
                <div class="flex-1 text-center">
                    <div class="<?php echo $step >= 4 ? 'text-blue-500' : 'text-gray-400'; ?> font-medium">
                        4. 执行安装
                    </div>
                </div>
                <div class="flex-1 text-center">
                    <div class="<?php echo $step >= 5 ? 'text-blue-500' : 'text-gray-400'; ?> font-medium">
                        5. 完成
                    </div>
                </div>
            </div>

            <div class="content">
                <?php include $template; ?>
            </div>
        </div>
    </div>
</body>
</html>
